
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>安装 · 臭大佬</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Vijay">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="dispose.html" />
    
    
    <link rel="prev" href="install.html" />
    

    
    
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href=".">
        
        <link rel="apple-touch-icon" sizes="180x180" href=".">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Galloping-Vijay","repo":"laravel-wjfcms","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://www.choudalao.com" target="_blank" class="custom-link">臭大佬首页</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="contact.html">
            
                <a href="contact.html">
            
                    
                    联系方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="reward.html">
            
                <a href="reward.html">
            
                    
                    支持与捐赠
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="changelog.html">
            
                <a href="changelog.html">
            
                    
                    更新记录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="development.html">
            
                <a href="development.html">
            
                    
                    搭建环境
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="windows.html">
            
                <a href="windows.html">
            
                    
                    windows
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="linux.html">
            
                <a href="linux.html">
            
                    
                    linux
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="install.html">
            
                <a href="install.html">
            
                    
                    安装使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.3.1" data-path="installation.html">
            
                <a href="installation.html">
            
                    
                    安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="dispose.html">
            
                <a href="dispose.html">
            
                    
                    部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="upgrade.html">
            
                <a href="upgrade.html">
            
                    
                    升级
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="thinkphpwjfcms.html">
            
                <a href="thinkphpwjfcms.html">
            
                    
                    thinkphp-wjfcms获取
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="backstage.html">
            
                <a href="backstage.html">
            
                    
                    后台功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="reception.html">
            
                <a href="reception.html">
            
                    
                    前台操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="note.html">
            
                <a href="note.html">
            
                    
                    基础功能
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="controller.html">
            
                <a href="controller.html">
            
                    
                    控制器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="model.html">
            
                <a href="model.html">
            
                    
                    模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="view.html">
            
                <a href="view.html">
            
                    
                    视图
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="github.html">
            
                <a href="github.html">
            
                    
                    github分支说明
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >安装</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><ul><li><span class="title-icon "></span><a href="#&#x7279;&#x522B;&#x63D0;&#x9192;"><b></b>&#x7279;&#x522B;&#x63D0;&#x9192;</a></li><li><span class="title-icon "></span><a href="#&#x83B7;&#x53D6;&#x4EE3;&#x7801;"><b></b>&#x83B7;&#x53D6;&#x4EE3;&#x7801;</a></li><li><span class="title-icon "></span><a href="#&#x62C9;&#x53D6;&#x4EE3;&#x7801;"><b></b>&#x62C9;&#x53D6;&#x4EE3;&#x7801;</a></li><li><span class="title-icon "></span><a href="#&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;"><b></b>&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;</a></li><li><span class="title-icon "></span><a href="#&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><b></b>&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</a></li><li><span class="title-icon "></span><a href="#&#x7F16;&#x8F91;-env"><b></b>&#x7F16;&#x8F91; .env</a></li><li><span class="title-icon "></span><a href="#&#x5B89;&#x88C5;"><b></b>&#x5B89;&#x88C5;</a></li><li><span class="title-icon "></span><a href="#&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;"><b></b>&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;</a></li><li><span class="title-icon "></span><a href="#&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;"><b></b>&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;</a></li><li><span class="title-icon "></span><a href="#&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;"><b></b>&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;</a></li><li><span class="title-icon "></span><a href="#&#x8BBF;&#x95EE;"><b></b>&#x8BBF;&#x95EE;</a></li><li><span class="title-icon "></span><a href="#&#x5E38;&#x89C1;&#x95EE;&#x9898;"><b></b>&#x5E38;&#x89C1;&#x95EE;&#x9898;</a></li></ul></ul></div><a href="#" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h2 id="&#x7279;&#x522B;&#x63D0;&#x9192;"><a name="&#x7279;&#x522B;&#x63D0;&#x9192;" class="anchor-navigation-ex-anchor" href="#&#x7279;&#x522B;&#x63D0;&#x9192;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x7279;&#x522B;&#x63D0;&#x9192;" class="plugin-anchor" href="#&#x7279;&#x522B;&#x63D0;&#x9192;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7279;&#x522B;&#x63D0;&#x9192;</h2>
<p><strong>linux&#x4E0B;&#x6CE8;&#x610F;&#x6743;&#x9650;&#x95EE;&#x9898;</strong></p>
<h2 id="&#x83B7;&#x53D6;&#x4EE3;&#x7801;"><a name="&#x83B7;&#x53D6;&#x4EE3;&#x7801;" class="anchor-navigation-ex-anchor" href="#&#x83B7;&#x53D6;&#x4EE3;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x83B7;&#x53D6;&#x4EE3;&#x7801;" class="plugin-anchor" href="#&#x83B7;&#x53D6;&#x4EE3;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x83B7;&#x53D6;&#x4EE3;&#x7801;</h2>
<p>github&#x5730;&#x5740;&#xFF1A;<a href="https://github.com/Galloping-Vijay/laravel-wjfcms" target="_blank">laravel-wjfcms</a> &#xFF08;&#x6B22;&#x8FCE; star &#x4E0E; fork&#xFF09;</p>
<h2 id="&#x62C9;&#x53D6;&#x4EE3;&#x7801;"><a name="&#x62C9;&#x53D6;&#x4EE3;&#x7801;" class="anchor-navigation-ex-anchor" href="#&#x62C9;&#x53D6;&#x4EE3;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x62C9;&#x53D6;&#x4EE3;&#x7801;" class="plugin-anchor" href="#&#x62C9;&#x53D6;&#x4EE3;&#x7801;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x62C9;&#x53D6;&#x4EE3;&#x7801;</h2>
<pre><code class="lang-shell">git clone https://github.com/Galloping-Vijay/laravel-wjfcms
</code></pre>
<blockquote>
<p>&#x5982;&#x679C;github&#x8BBF;&#x95EE;&#x6162;,&#x53EF;&#x4EE5;&#x6362;&#x7801;&#x4E91;&#x94FE;&#x63A5; </p>
</blockquote>
<pre><code class="lang-shell">git clone https://gitee.com/Galloping-Vijay/laravel-wjfcms.git
</code></pre>
<p>win&#x4E0B;</p>
<p><img src="images/screenshot_1562922175293.png" alt="screenshot_1562922175293"></p>
<p>ubuntu&#x4E0B;(&#x6CE8;&#x610F;&#x6743;&#x9650;)</p>
<p><img src="images/screenshot_1565618633020.png" alt="screenshot_1565618633020"></p>
<h2 id="&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;"><a name="&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;" class="anchor-navigation-ex-anchor" href="#&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;" class="plugin-anchor" href="#&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8FDB;&#x5165;&#x9879;&#x76EE;&#x76EE;&#x5F55;</h2>
<pre><code class="lang-shell">cd ./laravel-wjfcms
</code></pre>
<p><img src="images/screenshot_1562922540161.png" alt="screenshot_1562922540161"></p>
<h2 id="&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><a name="&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;" class="anchor-navigation-ex-anchor" href="#&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;" class="plugin-anchor" href="#&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x590D;&#x5236;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</h2>
<blockquote>
<p>&#x6211;&#x4EEC;&#x9700;&#x8981;&#x590D;&#x5236;&#x8DDF;&#x76EE;&#x5F55;&#x4E0B;&#x7684;<code>.env.example</code>&#x6587;&#x4EF6;&#x5E76;&#x91CD;&#x547D;&#x540D;&#x4E3A;<code>.env</code></p>
</blockquote>
<pre><code class="lang-shell">cp .env.example .env
</code></pre>
<h2 id="&#x7F16;&#x8F91;-env"><a name="&#x7F16;&#x8F91;-env" class="anchor-navigation-ex-anchor" href="#&#x7F16;&#x8F91;-env"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x7F16;&#x8F91;-env" class="plugin-anchor" href="#&#x7F16;&#x8F91;-env"><i class="fa fa-link" aria-hidden="true"></i></a>&#x7F16;&#x8F91; .env</h2>
<p>&#x6211;&#x4EEC;&#x9700;&#x8981;&#x6539;&#x6210;&#x81EA;&#x5DF1;&#x7684;&#x5B9E;&#x9645;&#x914D;&#x7F6E;&#xFF1B;  </p>
<p>APP_NAME &#x9879;&#x76EE;&#x540D;&#x79F0;&#xFF0C;&#x5982;&#xFF1A;blog&#xFF1B;  </p>
<p>APP_URL &#x9879;&#x76EE;&#x8BBF;&#x95EE;&#x57DF;&#x540D;,&#x5982;&#xFF1A;www.choudalao.com&#xFF1B;  </p>
<p>DB_DATABASE &#x6570;&#x636E;&#x5E93;&#x540D;&#xFF1B;  </p>
<p>DB_USERNAME &#x6570;&#x636E;&#x5E93;&#x7528;&#x6237;&#x540D; &#xFF1B;  </p>
<p>DB_PASSWORD &#x6570;&#x636E;&#x5E93;&#x5BC6;&#x7801; &#xFF1B;</p>
<p>APP_NAME=&quot;Vijay &#x4E2A;&#x4EBA;&#x535A;&#x5BA2;&quot;</p>
<p>APP_ENV=local</p>
<p>APP_KEY=</p>
<p>APP_DEBUG=true</p>
<p>APP_URL=www.choudalao.com</p>
<p>LOG_CHANNEL=stack</p>
<p>DB_CONNECTION=mysql</p>
<p>DB_HOST=127.0.0.1</p>
<p>DB_PORT=3306</p>
<p>DB_DATABASE=blog</p>
<p>DB_USERNAME=root</p>
<p>DB_PASSWORD=root</p>
<p>DB<em>PREFIX=wjf</em></p>
<blockquote>
<p>&#x4F60;&#x7684;<code>.env</code>&#x6587;&#x4EF6;&#x4E0D;&#x5E94;&#x8BE5;&#x63D0;&#x4EA4;&#x5230;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x6E90;&#x4EE3;&#x7801;&#x63A7;&#x5236;&#x7CFB;&#x7EDF;&#x4E2D;&#xFF0C;&#x56E0;&#x4E3A;&#x6BCF;&#x4E2A;&#x4F7F;&#x7528;&#x4F60;&#x7684;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x5F00;&#x53D1;&#x4EBA;&#x5458; / &#x670D;&#x52A1;&#x5668;&#x53EF;&#x80FD;&#x9700;&#x8981;&#x6709;&#x4E00;&#x4E2A;&#x4E0D;&#x540C;&#x7684;&#x73AF;&#x5883;&#x914D;&#x7F6E;&#x3002;&#x6B64;&#x5916;&#xFF0C;&#x5728;&#x5165;&#x4FB5;&#x8005;&#x83B7;&#x5F97;&#x4F60;&#x7684;&#x6E90;&#x4EE3;&#x7801;&#x63A7;&#x5236;&#x4ED3;&#x5E93;&#x7684;&#x8BBF;&#x95EE;&#x6743;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x8FD9;&#x4F1A;&#x6210;&#x4E3A;&#x4E00;&#x4E2A;&#x5B89;&#x5168;&#x9690;&#x60A3;&#xFF0C;&#x56E0;&#x4E3A;&#x4EFB;&#x4F55;&#x654F;&#x611F;&#x7684;&#x51ED;&#x636E;&#x90FD;&#x88AB;&#x66B4;&#x9732;&#x4E86;&#x3002;</p>
<p>&#x5982;&#x679C;&#x662F;&#x56E2;&#x961F;&#x5F00;&#x53D1;&#xFF0C;&#x5219;&#x53EF;&#x80FD;&#x5E0C;&#x671B;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x4E2D;&#x4ECD;&#x5305;&#x542B;<code>.env.example</code>&#x6587;&#x4EF6;&#x3002;&#x56E0;&#x4E3A;&#x901A;&#x8FC7;&#x5728;&#x793A;&#x4F8B;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x653E;&#x7F6E;&#x5360;&#x4F4D;&#x503C;&#xFF0C;&#x56E2;&#x961F;&#x4E2D;&#x7684;&#x5176;&#x4ED6;&#x5F00;&#x53D1;&#x4EBA;&#x5458;&#x53EF;&#x4EE5;&#x6E05;&#x695A;&#x5730;&#x770B;&#x5230;&#x54EA;&#x4E9B;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x662F;&#x8FD0;&#x884C;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x6240;&#x5FC5;&#x9700;&#x7684;&#x3002;&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;<code>.env.testing</code>&#x6587;&#x4EF6;&#xFF0C;&#x5F53;&#x8FD0;&#x884C; PHPUnit &#x6D4B;&#x8BD5;&#x6216;&#x4EE5;<code>--env=testing</code>&#x4E3A;&#x9009;&#x9879;&#x6267;&#x884C; Artisan &#x547D;&#x4EE4;&#x65F6;&#xFF0C;&#x8BE5;&#x6587;&#x4EF6;&#x5C06;&#x8986;&#x76D6;<code>.env</code>&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x503C;&#x3002;</p>
</blockquote>
<h2 id="&#x5B89;&#x88C5;"><a name="&#x5B89;&#x88C5;" class="anchor-navigation-ex-anchor" href="#&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5B89;&#x88C5;" class="plugin-anchor" href="#&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5B89;&#x88C5;</h2>
<blockquote>
<p>&#x63A8;&#x8350;&#x4F7F;&#x7528;&#x963F;&#x91CC;&#x4E91;composer&#x955C;&#x50CF;</p>
</blockquote>
<pre><code class="lang-shell">composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
</code></pre>
<p><img src="images/screenshot_1562922244379.png" alt="screenshot_1562922244379"></p>
<blockquote>
<p>&#x8FD0;&#x884C;</p>
</blockquote>
<pre><code class="lang-powershell">composer install
</code></pre>
<p><img src="images/composer_install.png" alt="composer_install"></p>
<h2 id="&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;"><a name="&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;" class="anchor-navigation-ex-anchor" href="#&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;" class="plugin-anchor" href="#&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BBE;&#x7F6E;laravel&#x5E94;&#x7528;&#x5BC6;&#x94A5;</h2>
<pre><code class="lang-shell">php artisan key:generate
</code></pre>
<p><img src="images/generate.png" alt=""></p>
<h2 id="&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;"><a name="&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;" class="anchor-navigation-ex-anchor" href="#&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;" class="plugin-anchor" href="#&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x521B;&#x5EFA;&#x6570;&#x636E;&#x8868;</h2>
<pre><code class="lang-shell">php artisan migrate
</code></pre>
<p><img src="images/migrate.png" alt="migrate"></p>
<h2 id="&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;"><a name="&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;" class="anchor-navigation-ex-anchor" href="#&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;" class="plugin-anchor" href="#&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x751F;&#x6210;&#x521D;&#x59CB;&#x6570;&#x636E;</h2>
<pre><code class="lang-shell">php artisan db:seed
</code></pre>
<blockquote>
<p>&#x5982;&#x679C;&#x6570;&#x636E;&#x51FA;&#x73B0;&#x95EE;&#x9898;&#xFF0C;&#x53EF;&#x4EE5;&#x6267;&#x884C;&#x6E05;&#x7A7A;&#x64CD;&#x4F5C; &#x518D; db:seed</p>
</blockquote>
<pre><code>php artisan cache:clear
</code></pre><blockquote>
<p>Artisan &#x662F; Laravel &#x81EA;&#x5E26;&#x7684;&#x547D;&#x4EE4;&#x884C;&#x63A5;&#x53E3;&#xFF0C;&#x4ED6;&#x63D0;&#x4F9B;&#x4E86;&#x8BB8;&#x591A;&#x4F7F;&#x7528;&#x7684;&#x547D;&#x4EE4;&#x6765;&#x5E2E;&#x52A9;&#x4F60;&#x6784;&#x5EFA; Laravel &#x5E94;&#x7528; &#x3002;&#x8981;&#x67E5;&#x770B;&#x6240;&#x6709;&#x53EF;&#x7528;&#x7684; Artisan &#x547D;&#x4EE4;&#x7684;&#x5217;&#x8868;</p>
</blockquote>
<pre><code class="lang-shell">php artisan list
</code></pre>
<p>&#x66F4;&#x591A;&#x64CD;&#x4F5C;&#x8BF7;&#x70B9;&#x51FB;&#x67E5;&#x770B;<a href="https://learnku.com/docs/laravel/5.8/artisan/3913" target="_blank">Artisan &#x547D;&#x4EE4;&#x884C;</a></p>
<h2 id="&#x8BBF;&#x95EE;"><a name="&#x8BBF;&#x95EE;" class="anchor-navigation-ex-anchor" href="#&#x8BBF;&#x95EE;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x8BBF;&#x95EE;" class="plugin-anchor" href="#&#x8BBF;&#x95EE;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BBF;&#x95EE;</h2>
<p>&#x81F3;&#x6B64;&#x5B89;&#x88C5;&#x5B8C;&#x6210;&#xFF0C;&#x540E;&#x53F0;&#x5730;&#x5740;&#x4E3A;:&#x57DF;&#x540D;/admin&#xFF0C;&#x5982;&#xFF1A;<a href="http://dev.wjf.net/admin" target="_blank">http://dev.wjf.net/admin</a></p>
<p>&#x540E;&#x53F0;&#x9ED8;&#x8BA4;&#x8D26;&#x53F7; :13000000000</p>
<p>&#x5BC6;&#x7801;:123456</p>
<h2 id="&#x5E38;&#x89C1;&#x95EE;&#x9898;"><a name="&#x5E38;&#x89C1;&#x95EE;&#x9898;" class="anchor-navigation-ex-anchor" href="#&#x5E38;&#x89C1;&#x95EE;&#x9898;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5E38;&#x89C1;&#x95EE;&#x9898;" class="plugin-anchor" href="#&#x5E38;&#x89C1;&#x95EE;&#x9898;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5E38;&#x89C1;&#x95EE;&#x9898;</h2>
<p>&#x73AF;&#x5883;&#x4E0D;&#x7B26;&#x5408;&#x8981;&#x6C42;&#xFF1A;<a href="https://www.choudalao.com/static/docs/_book/development.html" target="_blank">&#x8FD0;&#x884C;&#x73AF;&#x5883;</a>
&#x4F2A;&#x9759;&#x6001;&#x914D;&#x7F6E;&#xFF1A;<a href="https://www.choudalao.com/static/docs/_book/dispose.html" target="_blank">&#x4F2A;&#x9759;&#x6001;&#x914D;&#x7F6E;</a></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="install.html" class="navigation navigation-prev " aria-label="Previous page: 安装使用">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="dispose.html" class="navigation navigation-next " aria-label="Next page: 部署">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"安装","level":"1.3.1","depth":2,"next":{"title":"部署","level":"1.3.2","depth":2,"path":"dispose.md","ref":"dispose.md","articles":[]},"previous":{"title":"安装使用","level":"1.3","depth":1,"path":"install.md","ref":"install.md","articles":[{"title":"安装","level":"1.3.1","depth":2,"path":"installation.md","ref":"installation.md","articles":[]},{"title":"部署","level":"1.3.2","depth":2,"path":"dispose.md","ref":"dispose.md","articles":[]},{"title":"升级","level":"1.3.3","depth":2,"path":"upgrade.md","ref":"upgrade.md","articles":[]},{"title":"thinkphp-wjfcms获取","level":"1.3.4","depth":2,"path":"thinkphpwjfcms.md","ref":"thinkphpwjfcms.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","donate","sharing-plus","anchor-navigation-ex","favicon"],"styles":{"website":""},"pluginsConfig":{"github":{"url":"https://github.com/Galloping-Vijay/laravel-wjfcms"},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"./images/支付宝支付.jpg","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"./images/微信支付.png","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"","bookmark":"","appleTouch":"","appleTouchMore":{"120x120":"","180x180":""}},"github-buttons":{"buttons":[{"user":"Galloping-Vijay","repo":"laravel-wjfcms","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{}},"theme":"default","author":"Vijay","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"臭大佬","language":"zh-hans","links":{"sidebar":{"臭大佬首页":"https://www.choudalao.com"}},"gitbook":"3.2.3","description":"每一次经历，每一段时光都值得被记录，它们将会是你未来的财富。"},"file":{"path":"installation.md","mtime":"2020-10-31T07:02:17.244Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-10-31T07:03:26.008Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

